package JavaSE.CODE.javaIO;

import java.io.StringWriter;

public class StringWriterDemo {
    public static void main(String[] args) {
        var sw = new StringWriter(20);
        sw.write("llalalalal\n");
        sw.write("llalalalal\n");
        sw.write("llalalalal\n");
        sw.write("llalalalal\n");
        System.out.println(sw.toString());
    }
}
